package com.xj.proxy.staticProxy;

/**
 * @author: xujiang
 * @createTime: 2021/8/18 12:40:25
 */
public class MathSubProxy implements Subject {
    private Subject subject = null;

    MathSubProxy(Subject subject) {
        this.subject = subject;
    }

    public void request() {
        System.out.println("静态代理开始！！！");
        subject.request();
        System.out.println("静态代理结束！！！");
    }
}
